package com.yiminer.jobs;

import java.util.List;

import com.yiminer.to.User;
import com.yiminer.util.TimerUtil;

public class StarterTester {
	
	public static void main(String args[]){
		System.out.println("================Job Start====================");
		try {
			List<User> users = TimerUtil.getAllRegistedUsers();
			for(User user:users){
				SubmitThread submitThread = new SubmitThread(user);
				submitThread.start();
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
